package Action;

public class CountMF {

	public int fun1(int x,int y) {
		return (int) (x-x*fun2(y)) > 0 ? (int) (x-x*fun2(y)) : 1;
	}
	
	public double fun2(int y) {
		double t=0.00;
		for(int i=0;i<y;i++) {
			t+=0.01;
		}
		return t;
	}
}
